﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace EarringsBackEnd
{
    public partial class frmZoomImage : Form
    {
        private Bitmap _image;

        private string _filePath = string.Empty;

        public frmZoomImage(string filePath)
        {
            _filePath = filePath;
            InitializeComponent();
            
        }

        private void frmViewImage_Load(object sender, EventArgs e)
        {
            FileStream fs = new FileStream(_filePath, FileMode.Open, FileAccess.Read);
            Bitmap bmpImage = (Bitmap)Image.FromStream(fs);
            picEarrings.Image = bmpImage;
        }

    }
}
